package com.blog.cloud.gateway.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "auth")
@PropertySource(value = "classpath:/file/auth.yaml", ignoreResourceNotFound = true, encoding = "UTF-8")
public class AuthIgnoreProperties {
    private List<String> ignoreUrls = new ArrayList<>();
}
